package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;
import java.math.BigDecimal;
import java.util.Calendar;

public interface DetectstandardDAO extends JpaDao<Detectstandard> {

	public Detectstandard findDetectstandardById(Integer id) throws DataAccessException;

	public Detectstandard findDetectstandardById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByName(String name) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByNameContaining(String name_1) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByDate(Calendar date) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByDate(Calendar date, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByMin(BigDecimal min) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByMin(BigDecimal min, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByMax(BigDecimal max) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByMax(BigDecimal max, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByDescription(String description) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Detectstandard findDetectstandardByPrimaryKey(Integer id) throws DataAccessException;

	public Detectstandard findDetectstandardByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Detectstandard> findAllDetectstandards() throws DataAccessException;

	public Set<Detectstandard> findAllDetectstandards(int startResult, int maxRows) throws DataAccessException;

	public Set<Detectstandard> findDetectstandardsByFeature(Integer featureId, int start, int max);

	public Set<Detectstandard> findDetectstandardsByFood(Integer foodId, int start, int max);

	public Set<Detectstandard> findDetectstandardsByUnit(Integer unitId, int start, int max);

	public Set<Detectstandard> findDetectstandardByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectstandard> findDetectstandardsByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Detectstandard findDetectstandardByPhysicalPrimaryKey(Integer foodId, Integer featureId, Calendar date)
			throws DataAccessException;

	public Detectstandard findDetectstandardByPhysicalPrimaryKey(Integer foodId, Integer featureId, Calendar date,
			int startResult, int maxRows) throws DataAccessException;
}
